package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: ruohao
 * @Date: 2023/8/31
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Warning extends BaseEntity implements Serializable {
    private Long id;
    @Excel(name = "预警时间", cellType = Excel.ColumnType.STRING)
    private Date warningTime;
    @Excel(name = "设备编号", cellType = Excel.ColumnType.STRING)
    private String deviceId;
    @Excel(name = "设备名称", cellType = Excel.ColumnType.STRING)
    private String deviceName;
    @Excel(name = "预警内容", cellType = Excel.ColumnType.STRING)
    private String content;
    @Excel(name = "类型", cellType = Excel.ColumnType.STRING)
    private String type;

    private String release;//是否发过短信 1-发过 空没有

    private Integer count;//预警次数

    private  String name;  //回显类型

    private String location; //安装地址

    private String searchTime; //安装地址

    private String deviceType;//短信用
    private String time;//短信用
    private String address;//短信用
}
